package cn.edu.neusoft.practice.Controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.edu.neusoft.practice.mapper.DepartmentMapper;
import cn.edu.neusoft.practice.po.Department;
import cn.edu.neusoft.practice.po.Doctorfee;

@Controller
public class RoleController {
  @Autowired
  private DepartmentMapper departmentMapper;
  @RequestMapping("/getFee")
  @ResponseBody
  public List<Department> getFee(){
    return departmentMapper.selectList(null);
  }

}